console.log('本地项目注入脚本');

let querys = window.location.search.split('=');
let storageKey = decodeURIComponent(querys.at(-1));
chrome.storage.local.get(storageKey)
  .then(info => {
    console.log('获取到的插件内缓存')
    console.log(info)
    window.localStorage.setItem(storageKey, JSON.stringify(info[storageKey]));
  })